import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import vuetify from './plugins/vuetify'

// import style
import '@/styles/index.scss'

// import icon
import '@/icons' // icon

// import router guard  access permission routes
import '@/permission'
// 挂载confirm全局组件
import confirm from './plugins/comfirm'
// register global translate directive
import { dataTranslate } from 'utils/directive'
Vue.prototype.$t = dataTranslate
Vue.config.productionTip = false

Vue.prototype.$confirm = confirm
new Vue({
  router,
  store,
  vuetify,
  render: h => h(App)
}).$mount('#app')
